[tool.isort]
profile = 'black'
known_third_party = ["paddle"]
skip = ['paddlenlp/transformers/__init__.py']

[tool.black]
line-length = 119
target_version = ['py35', 'py36', 'py37', 'py38', 'py39', 'py310']
exclude = ['.flake8']

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --ignore model_zoo/gpt-3/"
pythonpath = ["."]
testpaths = [
    "tests/data",
    "tests/dataaug",
    "tests/datasets",
    "tests/embeddings",
    "tests/experimental",
    "tests/generation",
    "tests/layers",
    "tests/metrics",
    "tests/ops",
    "tests/trainer",
    "tests/transformers",
    "tests/peft",
    "tests/prompt",
    # "tests/taskflow",  TODO (paddle 2.5.1 breaks this test suite, debug later)
    "tests/utils",
    "model_zoo",
]
python_files = [
    "test.py",
    "test_*.py"
]
filterwarnings = [
    "ignore::UserWarning",
    'ignore::DeprecationWarning',
]
